function RPT_ThongKeNapTien_Click(reporttype,optionValue){
    if(reporttype===2||reporttype===4||reporttype===5){
        cmdChart([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'HDH', value: '' + optionValue.hdh + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
            ,{name: 'Loai', value: '' + reporttype + ''}
        ]);
    }
    else if(reporttype===1){
         cmdThongKe([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'HDH', value: '' + optionValue.hdh + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
    else if(reporttype===3){
       cmdExcel([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'HDH', value: '' + optionValue.hdh + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
}

function RPT_ThongKeTaiKhoan_Click(reporttype,optionValue){
     if(reporttype===2||reporttype===4||reporttype===5){
         
        cmdChart([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'HDH', value: '' + optionValue.hdh + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
            ,{name: 'Loai', value: '' + reporttype + ''}
        ]);
    }
    else if(reporttype===1){
      
        cmdThongKe([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'HDH', value: '' + optionValue.hdh + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
    else if(reporttype===3){
      cmdExcel([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'HDH', value: '' + optionValue.hdh + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
}
function RPT_TongTienNap_Click(reporttype,optionValue){
     if(reporttype===2||reporttype===4||reporttype===5){
        cmdChart([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Teleco', value: '' + optionValue.teleco + ''}
            ,{name: 'HDH', value: '' + optionValue.hdh + ''}
            ,{name: 'CongTT', value: '' + optionValue.congtt + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'MenhGia', value: '' + optionValue.menhgia + ''}
             ,{name: 'BaoCao', value: '' + optionValue.baocao + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
            ,{name: 'Loai', value: '' + reporttype + ''}
        ]);
    }
    else if(reporttype===1){
        cmdThongKe([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Teleco', value: '' + optionValue.teleco + ''}
            ,{name: 'HDH', value: '' + optionValue.hdh + ''}
            ,{name: 'CongTT', value: '' + optionValue.congtt + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'MenhGia', value: '' + optionValue.menhgia + ''}
             ,{name: 'BaoCao', value: '' + optionValue.baocao + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
    else if(reporttype===3){
      cmdExcel([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Teleco', value: '' + optionValue.teleco + ''}
            ,{name: 'HDH', value: '' + optionValue.hdh + ''}
            ,{name: 'CongTT', value: '' + optionValue.congtt + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'MenhGia', value: '' + optionValue.menhgia + ''}
             ,{name: 'BaoCao', value: '' + optionValue.baocao + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
}
function RPT_TongCashout_Click(reporttype,optionValue){
     if(reporttype===2||reporttype===4||reporttype===5){
        cmdChart([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Teleco', value: '' + optionValue.teleco + ''}
            ,{name: 'MenhGia', value: '' + optionValue.menhgia + ''}
             ,{name: 'BaoCao', value: '' + optionValue.baocao + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
            ,{name: 'Loai', value: '' + reporttype + ''}
        ]);
    }
    else if(reporttype===1){
         cmdThongKe([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Teleco', value: '' + optionValue.teleco + ''}
            ,{name: 'MenhGia', value: '' + optionValue.menhgia + ''}
             ,{name: 'BaoCao', value: '' + optionValue.baocao + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
    else if(reporttype===3){
       cmdExcel([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Teleco', value: '' + optionValue.teleco + ''}
            ,{name: 'MenhGia', value: '' + optionValue.menhgia + ''}
             ,{name: 'BaoCao', value: '' + optionValue.baocao + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
}
function RPT_ThongKeDoanhThu_Click(reporttype,optionValue){
     if(reporttype===2){
        cmdChart([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'LoaiDT', value: '' + optionValue.loaidt + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
    else if(reporttype===1){
         cmdThongKe([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'LoaiDT', value: '' + optionValue.loaidt + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
    else if(reporttype===3){
       cmdExcel([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'LoaiDT', value: '' + optionValue.loaidt + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
}

function RPT_ThongKeDoanhThu_Click(reporttype,optionValue){
     if(reporttype===2||reporttype===4||reporttype===5){
        
        cmdChart([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'LoaiTK', value: '' + optionValue.loaitk + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
            ,{name: 'Loai', value: '' + reporttype + ''}
        ]);
      
    }
    else if(reporttype===1){        
        cmdThongKe([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'LoaiTK', value: '' + optionValue.loaitk + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
    else if(reporttype===3){
      cmdExcel([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'LoaiTK', value: '' + optionValue.loaitk + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
}

function RPT_ThongKeDoanhThuTheoGame_Click(reporttype,optionValue){
     if(reporttype===2||reporttype===4||reporttype===5){
        
        cmdChart([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
            ,{name: 'Loai', value: '' + reporttype + ''}
        ]);
      
    }
    else if(reporttype===1){        
        cmdThongKe([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
    else if(reporttype===3){
      cmdExcel([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
}


function RPT_ThongKeKhac_Click(reporttype,optionValue){
     if(reporttype===2){
        cmdChart([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'LoaiTK', value: '' + optionValue.loaitk + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
    else if(reporttype===1){
        cmdThongKe([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'LoaiTK', value: '' + optionValue.loaitk + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
    else if(reporttype===3){
      cmdExcel([
            {name: 'CPID', value: '' + optionValue.cpID + ''}
            ,{name: 'Game', value: '' + optionValue.game + ''}
            ,{name: 'LoaiTK', value: '' + optionValue.loaitk + ''}
            ,{name: 'TuNgay', value: '' + optionValue.tungay + ''}
            ,{name: 'DenNgay', value: '' + optionValue.denngay + ''}
        ]);
    }
}
//var cpID=document.getElementById('cboCPID').value;
//        var game=document.getElementById('cbGame').value;
//        var hdh=document.getElementById('cbHDH').value;
//        var tungay=document.getElementById('calTuNgay').value;
//        var denngay=document.getElementById('calDenNgay').value;